<!--
 * @Author: jay
 * @Date: 2021-08-09 21:20:08
 * @LastEditTime: 2021-08-12 08:42:17
 * @LastEditors: Please set LastEditors
 * @Description: tyut
 * @FilePath: \Briup\Common\study\1-html\3-tyut.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>太原理工大学</title>
    <style>
        ul,p,body {
            margin: 0;
            padding: 0;
        }
        ul,ol{
            list-style: none;
        }
        /* 一级菜单容器*/
        ul.menu{
            background-color: tomato;
            color: #fff;
        }
        ul.menu::after{
            content: "";
            display: block;         /* 清理浮动 */
            clear: both;
        }
        /* 一级菜单元素*/
        ul.menu > li.menu_item{
            float: left;
            line-height: 3em;
            width: 100px;
            text-align: center;
            position: relative;
            cursor: pointer;            /* 加小手 */
        }
        ul.menu > li.menu_item:hover ul.sub_menu{
            display: block;
        }
        /* 二级菜单容器*/
        ul.menu ul.sub_menu{
            display: none;
            position: absolute;
            color: #666;
        }
        /* 二级菜单元素*/
        ul.menu ul.sub_menu > li{

        }


    </style>
</head>
<body>
    <div class="tyut">
        <header>
            <div class="top_line"></div>
            <div class="second_line"></div>
                <div class="logo"></div>       
                <ul class="menu">
                    <li class="menu_item">
                        <span>人才培养</span>
                        <ul class="sub_menu">
                            <li >本科生教育</li>
                            <li >研究生教育</li>
                        </ul>
                    </li>
                    <li class="menu_item">
                        <span>学校概况</span>
                        <ul class="sub_menu">
                            <li >学校简介</li>
                            <li >历史</li>
                        </ul>
                </ul>
        </header>
    </div>
</body>
</html>